<ion-header>
  <ion-navbar>
    <ion-title>矿机列表</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <ion-card *ngFor="let miner of minerList.voList">
    <ion-card-content class="pt">
      <ion-item class="pl0 item-card">
        <ion-thumbnail item-start>
          <img src="../../assets/imgs/kj.png" style="width: 70px;height: 70px;">
        </ion-thumbnail>
        <h4 class="mb-5">价格：<span class="color-orange font16">{{miner?.price}}</span></h4>
        <h4>算力：<span class="color-orange font16">{{miner?.power}}</span></h4>
        <div>库存：<span class="color-blue font14">{{miner?.inventory | number}}</span></div>
        <button ion-button item-end class="m0 pl pr" (click)="buyMill(miner?.code)">购买</button>
      </ion-item>
    </ion-card-content>
  </ion-card>
</ion-content>
